# -*- coding: utf-8 -*-
class LoanReturnedHx < ActiveRecord::Base
  has_many :loan_returned_hx_details,:dependent => :destroy  #级联删除子表

  belongs_to :warehouse
  belongs_to :employee
  belongs_to :department
  belongs_to :company
  belongs_to :loan_returned
  belongs_to :customer
end
